home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20030409-20031118
/
000398_anthonypieper@cs.com_Fri Nov 7 14:19:50 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: anthonypieper@cs.com (newexpectuser)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Problem with Kermit spawned from Expect script sending files
Date: 7 Nov 2003 09:46:53 -0800
Organization: http://groups.google.com
Lines: 24
Message-ID: <f0bb0f39.0311070946.62574f98@posting.google.com>
References: <f0bb0f39.0311061216.1ba040a0@posting.google.com> <slrnbqlcid.ooo.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070527.6ce76ffc@posting.google.com> <slrnbqnbfm.380.fdc@sesame.cc.columbia.edu>
NNTP-Posting-Host: 209.251.39.194
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1068227214 31947 127.0.0.1 (7 Nov 2003 17:46:54 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 7 Nov 2003 17:46:54 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14653
I tried the /pty, but when I run it (via ./scriptname.sh), it puts me
at a "C-Kermit>" prompt ?
Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbqnbfm.380.fdc@sesame.cc.columbia.edu>...
> In article <f0bb0f39.0311070527.6ce76ffc@posting.google.com>,
> newexpectuser wrote:
> :
> : I looked at the article and have tried this simple connection:
> :
> : #!/usr/bin/kermit +
> : echo "Starting"
> : set host /pipe ssh -e none -l /user:root 111.111.11.111
> : lineout "mypassword"
> : echo "Connected"
> : quit
> :
> : With this above it does connect, but still waits for me to enter a
> : password, I thought the lineout would do this for me, that is why I
> : had mentioned EXPECT earlier, it can pass this value via the "send"
> : command in EXPECT.
> :
> What if you use "set host /pty" instead of "set host /pipe"? Expect uses
> ptys, so if you tell Kermit to use a pty, it should work like Expect.
>
> - Frank